package com.gtw.modules.dao;

import com.gtw.modules.entity.TbSignData;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TbSignDataDao {

    int deleteByPrimaryKey(Integer id);

    int insert(TbSignData record);

    int insertSelective(TbSignData record);

    TbSignData selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbSignData record);

    int updateByPrimaryKey(TbSignData record);

    TbSignData foundByUserId(Integer userid);

    int datediff(Map<String, Object> map);
}